package domain

type Creadit struct {
	Biz   string
	BizId int64
	Items []CreditItem
}
type CreditItem struct {
	Uid         int64
	Account     int64
	AccountType AccountType
	Amt         int64
	Currency    string
}
type AccountType uint8

func (a AccountType) AsUint8() uint8 {
	return uint8(a)
}

const (
	AccountTypeUnknown = iota
	AccountTypeSelf
	AccountTypeSystem
)
